import request from '@/utils/request'

const apiName = '/admin/cmn/dict'

export default{
    //根据项目id，查询字典子数据列表
    findChirdData(id){
        return request({
            url:`${apiName}/findChirdData/${id}`,
            method : 'get',
        })
    },
    //根据DictCode，查询字典子数据列表：获取下级节点
    findByDictCode(dictCode){
        return request({
            url:`${apiName}/findByDictCode/${dictCode}`,
            method:'get',
        })
    }

}